part of '../repository.dart';

const _kPurchasedSubscriptionInfoDeveloperCancellationInfoTypeValue = 'developer';

class _PurchasedSubscriptionInfoDeveloperCancellationInfoDto
    extends Equatable implements _PurchasedSubscriptionInfoCancellationInfoDto {
  const _PurchasedSubscriptionInfoDeveloperCancellationInfoDto();

  @override
  String get type => _kPurchasedSubscriptionInfoDeveloperCancellationInfoTypeValue;

  @override
  List<Object?> get props => [];

  @override
  Map<String, dynamic> toJson() {
    return {
      _kPurchasedSubscriptionInfoCancellationInfoTypeKey: type,
    };
  }

  @override
  GooglePlayPurchasedSubscriptionInfoDeveloperCancellationInfo toEntity() {
    return const GooglePlayPurchasedSubscriptionInfoDeveloperCancellationInfo();
  }
}
